import config from '../../utils/config';
import apiCreator from '../../utils/apiCreator';

const api = apiCreator();

export default {
  // 试算撤销
  revocation: (query) => api.get(`${config.interfaces.type5}portfolio-server/portfolioTrial/revokeTrade`, query),
  // 转簿记状态
  istrialferbookTrade: (query) => api.get(`${config.interfaces.type5}portfolio-server/portfolioTrial/istrialferbookTrade`, query),
  // 获取关联持仓表格数据
  getRelatedPosition: (query) => api.get(`${config.interfaces.type1}tradeAnaDirectFinancingHoldInfo/getAffiliatedPosition`, query),
};
